Memory card and its initial setting method

ABSTRACT

In the initial setting of a memory card  1 , the flash check data FD stored in a flash memory  2 is read out, this data FD is compared with the operation check data FD 1   1  stored previously in the ROM, the write check data FD 1   2  stored in the ROM  4   a  is written, if a fault is not detected, to the flash memory  2 , and this data is read again and is compared with the write check data FD 1   2  of the ROM  4   a . When any fault is not detected in comparison of these data, the CPU determines that the flash memory  2  is normal. Moreover, if a fault is detected in the comparison of data, the CPU sets the reset process fault data to a register  5   a  to set a controller  3  to the sleep mode. When the command CMD is received during this period, data comparison is executed again.

TECHNICAL FIELD

[0001] The present invention relates to a memory card and particularly to the technology which can be effectively applied for stable operation of a multimedia card.

BACKGROUND ART

[0002] As a medium of external storage media such as a personal computer and a multi-function terminal, a multimedia card standardized by the MMCA (MultiMedia Card Association) as the standardization organization is widely known. This multimedia card is used for storing still-pictures of digital cameras, data of a mobile telephone and music of a mobile music player or the like.

[0003] A multimedia card is formed of a flash memory and a controller for controlling the same flash memory. The controller is also provided with a power supply voltage detection circuit. This power supply voltage detection circuit detects the rising edge of the power supply voltage supplied from a host machine to thereby perform resetting.

[0004] According to investigation by the inventors, the multimedia card is subjected to the so-called power on reset process for initialization of the same card in order to stabilize operation when the power supply voltage is supplied.

[0005] This power-on reset process is performed to check whether the flash memory is ready for operation or not, by making access to the flash memory from the controller to read the data in the system region such as CID (Card Identification number register)/CSD (Card Specific Data register) after the power supply voltage detection circuit resets the controller by detecting the rising edge of the power supply voltage supplied from the host machine.

[0006] As an example of the document describing details of an IC card of this type, the “Electronic Materials” P22 to P26 edited by Masashi Ohshima and issued by Industrial Investigation Association Co., Ltd. on Dec. 1, 1990 may be listed. This document also describes technical trend of various IC cards.

[0007] However, the inventors of the present invention have found problems in the power-on reset processing technology for the memory card as described above.

[0008] In general, the operation voltage of the flash memory is set higher than the operation voltage of the controller and therefore here rises possibility that the flash memory does not reach the operation voltage when the controller makes access to the flash memory.

[0009] Accordingly, a problem may be assumed to occur in which the flash memory does not operate normally when the controller makes access to the flash memory, the data of the system region such as CID/CSD cannot be read successfully, the controller enters the condition in which the controller cannot accept the commands at all from the host machine, and thereby the host machine can no longer recognize the multimedia card.

[0010] An object of the present invention is to provide a memory card which can remarkably improve reliability by surely conducting the power-on reset process even if the power supply voltage supplied is unstable, and to provide a method of initializing the same memory card.

[0011] The aforementioned and the other objects and the novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

DISCLOSURE OF THE INVENTION

[0012] The memory card of the present invention comprises: a nonvolatile semiconductor memory for storing the operation check data in a certain storage area; and a control part which includes a storage unit for storing the operation check data for comparison to compare the operation check data of the nonvolatile semiconductor memory, and processing device for comparing the operation check data of nonvolatile semiconductor memory with the operation check data for comparison of the storage unit and then performing operation check of the nonvolatile semiconductor memory.

[0013] Moreover, summary of the other inventions of the present specification will be briefly described below.

[0014] 1. The operation check data is stored in a certain storage area of a nonvolatile semiconductor memory, a control part is provided with a processing unit to perform the predetermined processes on the basis of a control program, a nonvolatile storage unit storing the control program, a volatile storage unit for temporarily storing input/output data and arithmetic operation data, and an interface logic unit for inputting and outputting various commands and data inputted or outputted to or from external side, the operation check data for comparison to be compared with the operation check data read from the nonvolatile semiconductor memory is stored to the certain area of the nonvolatile storage area, and the processing unit compares the operation check data read from the nonvolatile semiconductor memory with the operation check data for comparison of the nonvolatile storage unit during the initializing operation, thereby performing check operations of the nonvolatile semiconductor memory.

[0015] 2. In the item 1 described above, the write check data to be written into the nonvolatile semiconductor memory is stored to the nonvolatile storage unit, and the processing unit compares, in the initial setting operation, the operation check data of the nonvolatile semiconductor memory with the operation check data for comparison of the nonvolatile storage unit and reads the write check data written into the nonvolatile semiconductor memory, to check the operation of the nonvolatile semiconductor memory through comparison between the check data and the write check data of the nonvolatile storage unit.

[0016] 3. In the item 1 or 2, the data storage unit for storing fault data is provided to an interface logic unit, and the processing unit sets the fault data to the data storage unit and interrupts the initial setting operation thereby setting the control part to the sleep mode when a failure is detected in the comparison between the operation check data of the nonvolatile semiconductor memory and operation check data for comparison of the nonvolatile storage unit or in the comparison between the write check data written into the nonvolatile semiconductor memory and the write check data of the nonvolatile storage unit, and the processing unit also executes the initial setting operation upon receiving a setting command to check the end of initial setting from an external side during the period for setting the fault data to the data storage unit.

[0017] Moreover, summary of the other inventions of the present specification will be briefly itemized below in detail.

[0018] 1. Initial setting method of memory card including the following steps of:

[0019] (a) reading, upon receiving the setting command for requesting the initial setting from the external side, the operation check data previously stored in the nonvolatile semiconductor memory, and comparing the read check data with the operation check data for comparison of the nonvolatile storage unit;

[0020] (b) setting, when a failure is detected in the data compared, the fault data to the data storage unit upon determination that a failure exists in the nonvolatile semiconductor memory, and intermitting the initial setting operation to set the control part to the sleep mode;

[0021] (c) comparing, during the period for setting the fault data to the data storage unit, the operation check data of the nonvolatile semiconductor memory with the operation check data for comparison of the nonvolatile storage unit until these are matched for every receiving of the setting command for checking the end of initial setting operation from the external side, and clearing the fault data being set to the data storage unit when these data are matched.

[0022] 2. Initial setting method of memory card including the following steps of:

[0023] (a) reading, upon receiving the setting command requesting for the initial setting from the external side, the operation check data which has been stored previously to a certain storage area of the nonvolatile semiconductor memory, and comparing the operation check data read from the nonvolatile semiconductor memory with the operation check data for comparison of the nonvolatile storage unit;

[0024] (b) writing the write check data stored in the nonvolatile storage unit to the nonvolatile semiconductor memory;

[0025] (c) reading the write check data stored in the nonvolatile semiconductor memory, and comparing the write check data obtained with the write check data of the nonvolatile storage unit;

[0026] (d) setting, when a failure is detected in any one of the operation check data of the nonvolatile semiconductor memory compared and the operation check data for comparison of the nonvolatile storage unit, or any one of the write check data of the nonvolatile semiconductor memory and the write check data of the nonvolatile storage unit, the fault data to the data storage unit upon determination that a failure exists within the nonvolatile semiconductor memory, and also setting the control part to the sleep mode by intermitting the initial setting operation;

[0027] (e) every time the setting command for checking the end of the initial setting operation is received from the external side during the period for setting the fault data to the data storage unit, comparing the operation check data of the nonvolatile semiconductor memory, write check data, operation check data for comparison of the nonvolatile storage unit and write check data until these are matched, and then clearing the fault data being set to the data storage unit when these data are matched.

BRIEF DESCRIPTION OF THE DATA

[0028]FIG. 1 is a block diagram of a memory card depending on the first embodiment of the present invention.

[0029]FIG. 2 is a flowchart of the power-on reset process in the memory card of FIG. 1.

[0030]FIG. 3 a transition diagram of power supply voltage supplied to the memory card of FIG. 1.

[0031]FIG. 4 is a diagram illustrating transition of each unit in the power-on reset process of the memory card of FIG. 1.

[0032]FIG. 5 is a flowchart for writing the flash check data to a flash memory provided in the memory card of FIG. 1.

BEST MODE FOR CARRYING OUT THE INVENTION

[0033] Details of the present invention will be described with reference to the accompanying drawings. The like elements are designated with the like reference numerals throughout the accompanied drawings and the same descriptions are eliminated.

[0034] In the preferred embodiment of the present invention, a memory card 1 is formed of a multimedia card which may be used as an external storage medium of a host machine in digital video camera, mobile telephone set, mobile music player and personal computer or the like.

[0035] The memory card 1 is provided with a flash memory (nonvolatile semiconductor memory) 2 and a controller 3. The flash memory 2 is formed as an electrically erasable and programmable nonvolatile semiconductor memory.

[0036] This flash memory 2 previously stores the flash check data (operation check data) FD for checking, when the power is on, whether the flash memory 2 is in the normally operating condition or not.

[0037] The controller 3 controls the flash memory 2 to perform the predetermined processes by reading programs and data stored in the flash memory 2 and to issue the instruction for data write operation.

[0038] This controller 3 is formed of a control unit (control means) 4, an interface logic unit 5, a power supply detection circuit 6, a RAM 7, a clock generating unit 8 and a buffer 9 or the like.

[0039] The control unit 4 controls the controller 3 completely. This control unit 4 is provided with a ROM (storage unit, nonvolatile storage unit) 4 a, a RAM (volatile storage unit) 4 b and a CPU (processing unit) 4 c.

[0040] The ROM 4 a is formed of a read-only memory or the like, and stores the control programs for operating the CPU 4 c and the check data FD1. The check data FD1 stored in this ROM4 a includes the operation check data (operation check data for comparison) FD1 ₁ consisting of the data which is identical to the flash check data FD stored in the flash memory 2 and the write check data FD1 ₂ which is written to the flash memory 2 during the power-on reset process (initial setting).

[0041] The RAM 4 b is a random access memory which allows the read and write operations whenever required, and temporarily stores the input/output data and arithmetic data or the like. The CPU 4 c performs the predetermined processes on the basis of the control programs of the ROM 4 a.

[0042] The interface logic unit 5 receives the commands to instruct the operations such as write, read and erase operations inputted or outputted to or from the host machine and inputs or outputs the data required for these operations.

[0043] This interface logic unit 5 is provided with a register (data storage unit) 5 a for setting the reset process fault data (fault data), if the initial setting of the memory card 1 is not completed normally at power turning on.

[0044] The power supply detection circuit 6 detects rise of the power supply voltage VCC when the power is turned on and outputs the reset signal to the interface logic unit 5.

[0045] The RAM 7 is a random access memory which allows the read and write operations whenever required and is used as the work area of the control unit 4. The clock generating unit 8 generates the clock signal of the selected frequency and then supplies this clock signal to the interface logic unit 5. The buffer 9 temporarily stores the data inputted and outputted to and from the host machine and flash memory 2.

[0046] Next, the power-on reset process in the memory card 1 of this embodiment will be described with reference to the flowchart of FIG. 2.

[0047] First, when the memory card 1 is inserted into a memory slot or the like, the power supply voltage VCC is supplied to the memory card 1 via connector terminals of the memory slot.

[0048] The power supply detection circuit 6 of the memory card 1 outputs the reset signal to the interface logic unit 5 when the power supply voltage VCC at power turning on reaches the predetermined voltage level, and the reset of the interface logic unit 5 is released (step S101), thereby executing the initialization (step S102).

[0049] Thereafter, the host machine outputs the command (setting command) CMD (command index CMD1′ SEND_OP_COND′ sorted to the command class 0) which is used to check the range of voltage in which the memory card 1 can be operated and to check whether the memory card 1 has completed the internal processes or not (step S103).

[0050] When the power supply voltage VCC reaches the predetermined voltage level (operation voltage of the control unit 4), the power supply detection circuit 6 outputs the detection signal to the interface logic unit 5 having completed the initialization. The inter face logic unit 5 outputs the reset signal to the control unit 4.

[0051] The control unit 4 executes the initialization of the CPU 4 a when the reset signal outputted from the interface logic unit 5 and the command CMD outputted from the host machine are inputted thereto.

[0052] The control unit 4 also initializes all registers provided thereto (step S104) and thereafter initializes the register of the interface logic unit 5 used for the read/write operations by the control unit (S105).

[0053] Subsequently, the control unit 4 initializes internal variables used in the firmware (step S106) and respectively checks the number of chips and capacity of the flash memory 2 (step S107).

[0054] Moreover, the controller 3 makes access to the flash memory 2 to determine whether the flash memory 2 is ready for read/write operations or not (step S108).

[0055] As the process in this step S108, the controller 3 reads the flash check data FD stored in the flash memory 2 by making access to the flash memory 2.

[0056] The CPU 4 c compares the flash check data FD read from the flash memory 2 with the operation check data FD1 ₁ stored previously in the ROM 3 a, and the CPU 4 c determines that the flash memory 2 is ready for the read operation when these flash check data FD and operation check data FD1 ₁ are matched.

[0057] When the flash memory 2 is ready for the read operation, the CPU 4 c writes the write check data FD1 ₂ stored in the ROM 4 a to the flash memory 2 and then reads again the write check data FD1 ₂ written to the flash memory 2 and compares the write check data FD1 ₂ obtained with the write check data FD1 ₁ of the ROM 4 a.

[0058] When the write check data FD1 ₂ written to the flash memory 2 is matched with the write check data FD1 ₂ of the ROM 4 a, the CPU 4 c determines that the flash memory 2 is operating normally.

[0059] With such data comparison, highly reliable operation check of the flash memory can be performed.

[0060] Thereafter, the CPU 4 c checks whether the firmware for additional alteration is stored in the flash memory 2 or not and performs so-called firm-on flash read operation for reading the firmware when the firmware for additional alteration is stored in the flash memory 2 (step S109).

[0061] Moreover, the controller 3 respectively reads the CID/CSD stored in the system area of the flash memory 2 (step S110). The CID is a serial number assigned to the memory card 1 and is used to assign the relative address for selecting the memory card 1.

[0062] The CSD is the data indicating various information pieces related to the memory card 1 such as corresponding MMCA specification version, card capacity, access time and transfer unit block length.

[0063] The control unit 4 reads and writes data of the buffer 9 for testing the buffer 9 (step S111). Thereafter, the control unit 4 generates a table of the alternative registration blocks of the defective sector and registers this table to the RAM 7 or the like (step S112). Moreover, it is also possible to skip the process of the step S111 for reducing the time required for the processes.

[0064] Thereafter, it is checked whether the password or the write-protect area exists in the memory card 1 or not by reading the password and write-protect data, and the result is then registered to the RAM 7 (step S113).

[0065] Accordingly, the power-on reset operation for initially setting the memory card 1 is completed. Moreover, when an error is generated in the processes in the steps S108 to S112, the CPU 4 c sets the reset process fault data (Lo level) to the register 5 a of the interface logic unit 5 (step S114) and thereafter the controller 3 enters the sleep mode (step S115).

[0066] During this sleep mode, namely when the command CMD is outputted from the host machine while the reset process fault data (here, Lo level) is set to the register 5 a (step S116), the interface logic unit 5 outputs the reset signal to the controller 3 to execute again the processes of the steps S104 to S112.

[0067] When no error is detected in the processes of the steps S104 to S112, the power-on reset operation of the memory card 1 is completed after the process of the steps S113.

[0068] Moreover, when an error is generated again in the processes of the steps S104 to S112, the processes of the steps S114 to S116 are executed. The processes of the steps S104 to S112 and steps S114 to S116 are repeated until an error is no longer generated.

[0069] Next, the power-on reset process in the memory card 1 will be described with reference to the transition diagram of voltage level of the power supply voltage VCC supplied from the host machine of FIG. 3 and the diagram illustrating transition of conditions of each unit in the power-on reset process of FIG. 4. Here, completion of the initial setting operation of the memory card 1 with the second power-on reset process will be described.

[0070] In FIG. 4, transitions in the reset signal inputted to the controller 3, operations of controller 3, operations of flash memory 2, setting conditions of the register 5 a of the interface logic unit 5, command outputted from the host machine, and response of format specified for each command returned to the host machine from the memory card 1 are respectively indicated from the lower side to the upper side.

[0071] First, when the memory card 1 is inserted into the memory slot of the host machine, the interface logic unit 5 reaches the voltage enough for operation and the interface logic unit 5 is initialized, the host machine outputs the commands to check the voltage range enough for operation of the memory card 1 and to check whether the internal process of the memory card 1 has been completed or not.

[0072] Upon reception of this command CMD, the interface logic unit 5 returns the “Busy” response to the host machine and also outputs the reset signal to the controller 3. Moreover, the interface logic unit 5 sets the Hi level signal to the register 5 a.

[0073] In addition, the command CMD is repeatedly outputted from the host machine in every predetermined period from the “Busy” response until the “Ready” response is returned.

[0074] Moreover, the controller 3 executes the reset process by receiving the reset signal of the interface logic unit 5. This reset process corresponds to the processes in the steps S104 to S107 in FIG. 2.

[0075] Thereafter, the controller 3 executes the system status read process by making access to the flash memory 2. Here, the system status read process corresponds to the processes in the steps S108 to S113 in FIG. 2.

[0076] During the period of this system status read process, the power supply voltage VCC does not yet reach the range of operation voltage of the flash memory 2 and in the unstable voltage range as illustrated in FIG. 3. Accordingly, an error is generated in the system status read process, disabling the reset.

[0077] With occurrence of this fault, the CPU 4 c sets the reset process fault data to the register 5 a of the interface logic unit 5 and the controller 3 enters the sleep mode.

[0078] When the controller 3 receives the command CMD from the host machine during this sleep mode, the interface logic unit 5 returns again the “Busy” response to the host machine, outputs the reset signal to the controller 3, and sets the register 5 a to the Hi level.

[0079] The controller 3, which has received the reset signal of the interface logic unit 5, performs the reset process in the steps S104 to S107 (FIG. 2). After the end of this reset process, the controller 3 makes access to the flash memory 2 to execute the system status read process in the steps S108 to S113 (FIG. 2).

[0080] Since the power supply voltage VCC reaches the operation voltage of the flash memory 2 as illustrated in FIG. 3 during the period of the second system status read process, the system status read process is executed without generation of any error and the power-on reset process is completed successfully.

[0081] Accordingly, the memory card 1 is set to the initial condition and when the third command CMD is inputted from the host machine, the controller 3 returns the “Ready” response to the host machine.

[0082] Therefore, the memory card 1 repeats retry until the power-on reset process is successfully completed and flexibility can be improved by making unnecessary the cutoff operation of the power supply voltage VCC and retry with a user.

[0083] Here, write of the flash check data FD in the flash memory 2 will be described with reference to the flowchart of FIG. 5. This flash check data FD is written in the selection process before delivery of the memory card 1.

[0084] First, when the memory card 1 is mounted to the host machine such as an emulator and the power supply voltage VCC is supplied thereto, the command CMD is inputted from the host machine (step S201), and the memory card 1 executes the power-on reset process (step S202).

[0085] In this case, since the data such as flash check data FD, CID/CSD, password and write protect are not written to the flash memory 2, the power-on reset process fails (step S203), and the memory card 1 waits for input of the command CMD from the host machine (step S204).

[0086] The host machine issues the power-on reset process skip command which is one of the debug commands for skipping the power-on reset process (step S205) and thereby the memory card 1 is shifted to the condition where the power-on reset process is completed normally.

[0087] The debug command is prepared for a card vendor to rewrite the system information of the memory card 1 and to analyze a fault thereof. During the transfer to the debug mode, the power-on reset process can be skipped.

[0088] Thereafter, the host machine also issues the flash check data write command which is one of the debug commands (step S206) and transmits the flash check data FD to the memory card 1.

[0089] When the memory card 1 receives the flash check data FD from the host machine (step S207), the flash check data FD is written to a certain area in the flash memory 2 (step S208).

[0090] Moreover, the data such as CID/CSD, password and write protect are also written into a certain area in the flash memory 2 as in the case of the steps S207 to S209.

[0091] Therefore, according to the embodiment of the present invention, since the memory card 1 can be set to the initial condition even if the power supply voltage VCC supplied from the host machine is unstable, reliability of the memory card 1 can be improved remarkably.

[0092] Moreover, in this embodiment, the power-on reset process is repeatedly executed until the memory card 1 can be set successfully to the initial condition. However, it is also possible to limit the number of times of the power-on reset process when the setting to the initial condition fails.

[0093] In this case, it is assumed that the register 5 a of the interface logic unit 5 is provided with a plurality of execution number setting bits to set the number of times of execution of the power-on reset process in addition to the bits for setting the reset process fault data.

[0094] Moreover, data is set to the execution number setting bits whenever the setting of the initial condition fails and when all bits are set, namely setting of the initial condition in the desired number of times fails, the power-on reset process is not executed even when the command CMD is requested from the host machine.

[0095] In addition, it is also possible, when the first power-on reset process fails, that the reset processes in the steps S104 to S107 (FIG. 2) are skipped from the second power-on reset process, and the process is started from the system status read processes in the steps S108 to S113 (FIG. 3).

[0096] Even in this case, the register 5 a also has the bits for skip data for setting the skip data in addition to the bits for setting the reset process fault data, and sets the bits for skip data when the first power-on reset process fails.

[0097] When the bits for skip data are set, the interface logic unit 5 skips the reset processes in the steps S104 to S107 during the second and subsequent power-on reset processes and starts the process from the system status read processes in the steps S108 to S113 (FIG. 2).

[0098] Accordingly, the time required for power-on reset process when the retry is executed can be shortened.

[0099] The present invention proposed by the inventors has been described practically on the basis of the preferred embodiment but the present invention is never limited only to the embodiment described above and allows various changes and modifications within the scope of the invention.

[0100] For example, in the embodiment, the check data for checking the read/write operations of the flash memory has been previously stored in the ROM but it is also possible to provide a structure that the check data is outputted from the host machine in accompaniment to the commands outputted from the host machine.

Industrial Applicability

[0101] As described above, the memory card and the method for initial setting of the same of the present invention is suitable for stable operation technology in a multimedia card. 

1-12. (Cancelled)
 13. A memory card comprising: a nonvolatile semiconductor memory storing operation check data in a certain storage area; and a control part which includes: a storage unit storing the operation check data for comparison comparing the operation check data read from said nonvolatile semiconductor memory; and a processing unit for comparing, in the initial setting operation, the operation check data read from said nonvolatile semiconductor memory with the operation check data for comparison of said storage unit and then performing the operation check of said nonvolatile semiconductor memory, and receives the operation instruction signal and operation voltage from external circuit thereby to issue an instruction for operation to said nonvolatile semiconductor memory in accordance with said operation instruction signal, wherein operations of said nonvolatile semiconductor memory are checked depending on said operation instruction signal when said operation check data and said operation check data for comparison are found mismatched with each other in said operation check process performed depending on said operation instruction signal.
 14. The memory card according to claim 13, comprising: the control part which includes the processing unit for checking operation of said nonvolatile semiconductor memory by storing the write check data to be written to said nonvolatile semiconductor memory to said storage unit, comparing, in the initial setting operation, the operation check data read from said nonvolatile semiconductor memory with the operation check data for comparison of said storage unit, reading the write check data written to said nonvolatile semiconductor memory, and comparing the write check data obtained with the write check data of said storage unit, and receives the operation instruction signal and operation voltage from an external circuit thereby to issue an instruction for operation to said nonvolatile semiconductor memory in accordance with said operation instruction signal.
 15. The memory card according to claim 13, wherein said control part is provided with a data storage unit for storing fault data and said processing unit sets, and wherein when a fault is detected in any one of the comparison between the operation check data read from said nonvolatile semiconductor memory and the operation check data for comparison in said storage unit and the comparison between the write check data written to said nonvolatile semiconductor memory and the write check data of said storage unit, said processing unit sets the fault data to said data storage unit to set said control part to a sleep mode by intermitting the initial setting operation, and executes the initial setting operation when the setting command for checking the end of initial setting is received from an external circuit during the period for setting the fault data to said data storage unit.
 16. A memory card comprising: a nonvolatile semiconductor memory; and a control part receiving the operation instruction signal and operation voltage from an external circuit and issuing an instruction for operation to said nonvolatile semiconductor memory in accordance with said operation instruction signal, wherein the operation check data is stored in a certain storage area of said nonvolatile semiconductor memory, said control part comprising: a processing unit for executing predetermined processes on the basis of a control program; a nonvolatile storage unit storing the control program for operating said processing unit; a volatile storage unit for temporarily storing input/output data and arithmetic data; and an interface logic unit for receiving commands to instruct various operations inputted and outputted from and to the external circuit and executing data input/output required for these operations, wherein the operation check data for comparison to be compared with the operation check data read from said nonvolatile semiconductor memory is stored to a certain area of said nonvolatile storage unit, and said processing unit compares, in the initial setting operation, the operation check data read from said nonvolatile semiconductor memory with the operation check data for comparison of said nonvolatile storage unit, and repeats, when the predetermined comparison result cannot be obtained, said initial setting operation every time said command is received, to thereby check the operation of said nonvolatile semiconductor memory.
 17. The memory card according to claim 16, wherein the write check data to be written into said nonvolatile semiconductor memory is stored to said nonvolatile storage unit, and wherein said processing unit checks operation of said nonvolatile semiconductor memory, in the initial setting operation, by comparing the operation check data read from said nonvolatile semiconductor memory with the operation check data for comparison of said nonvolatile storage unit, reading the write check data written into said nonvolatile semiconductor memory, and comparing the write check data obtained with the write check data of said nonvolatile storage unit.
 18. The memory card according to claim 16, wherein said interface logic unit is provided with a data storage unit for storing fault data, and wherein when a fault is detected in any one of the comparison between the operation check data read from said nonvolatile semiconductor memory and the operation check data for comparison of said storage unit and the comparison between the write check data written to said nonvolatile semiconductor memory and the write check data of said nonvolatile storage unit, said processing unit sets the fault data to said data storage unit to set said control part to a sleep mode by intermitting the initial setting operation, and executes the initial setting operation when the setting command for checking the end of initial setting is received from an external circuit during the period for setting the fault data to said data storage unit.
 19. A memory card comprising: a controller; and a nonvolatile semiconductor memory, wherein the operation voltage and command are received from an external circuit, wherein said controller includes a determination circuit, and wherein said determination circuit repeats the determination operation depending on said predetermined command when determination that said nonvolatile semiconductor memory is not ready for the operation is made with the operation voltage supplied from an external circuit depending on the predetermined command.
 20. The memory card according to claim 19, wherein determination is made by making access to said nonvolatile semiconductor memory in said determination operation.
 21. The memory card according to claim 20, wherein, in said determination operation, determination is made on the basis of the data obtained by reading the predetermined data from said nonvolatile semiconductor memory.
 22. The memory card according to claim 19, wherein said controller includes a storage unit and stores, to said storage unit, information indicating that said nonvolatile semiconductor memory is determined not ready for operation with said determining circuit.
 23. The memory card according to claim 14, wherein said control part is provided with a data storage unit for storing fault data and said processing unit sets, and wherein when a fault is detected in any one of the comparison between the operation check data read from said nonvolatile semiconductor memory and the operation check data for comparison in said storage unit and the comparison between the write check data written to said nonvolatile semiconductor memory and the write check data of said storage unit, said processing unit sets the fault data to said data storage unit to set said control part to a sleep mode by intermitting the initial setting operation, and executes the initial setting operation when the setting command for checking the end of initial setting is received from an external circuit during the period for setting the fault data to said data storage unit.
 24. The memory card according to claim 17, wherein said interface logic unit is provided with a data storage unit for storing fault data, and wherein when a fault is detected in any one of the comparison between the operation check data read from said nonvolatile semiconductor memory and the operation check data for comparison of said storage unit and the comparison between the write check data written to said nonvolatile semiconductor memory and the write check data of said nonvolatile storage unit, said processing unit sets the fault data to said data storage unit to set said control part to a sleep mode by intermitting the initial setting operation, and executes the initial setting operation when the setting command for checking the end of initial setting is received from an external circuit during the period for setting the fault data to said data storage unit.
 25. The memory card according to claim 20, wherein said controller includes a storage unit and stores, to said storage unit, information indicating that said nonvolatile semiconductor memory is determined not ready for operation with said determining circuit.
 26. The memory card according to claim 21, wherein said controller includes a storage unit and stores, to said storage unit, information indicating that said nonvolatile semiconductor memory is determined not ready for operation with said determining circuit. 